package cn.yjh.annotation;

import java.lang.annotation.*;

/**
 * @DESC:
 * @AUTHOR: YouJinhua
 * @DATE: 2021-11-24 23:59:04
 * @VERSION: 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface AliasFor {

    @AliasFor("attribute")
    String value() default "";

    @AliasFor("value")
    String attribute() default "";

    Class<? extends Annotation> annotation() default Annotation.class;
}
